package com.yan.designPatterns.singleton;

/**
 * 单例模式测试类
 * @author yan
 *
 */
public class Minister {
	public static void main(String[] args) {
		for (int day = 0; day < 3; day++) {
			Emperor emperor = Emperor.getInstance();
			emperor.say();
		}
	}
}
